
.navbar-nav > li {
    margin-right: 40px;
    display: inline-block;
    color: #777;
}
.navbar-nav > li:last-child {
    margin-right: 0;
    display: inline-block;
    color: #777;
}

.navbar-nav > li a {
    font-size: 16px;
    line-height: 30px;
    color: inherit;
}

.navbar-nav > li a:hover {
    font-size: 16px;
    line-height: 30px;
}

.navbar-nav > .open > a:hover, .navbar-nav > .open > a:focus {
    background-color: #fff !important;
}

.nav > li > a:hover::after {
    height: 3px;
    opacity: 1;
    -webkit-transform: translateY(0px);
    -ms-transform: translateY(0px);
    transform: translateY(0px);
}

.nav > li > a:after {
    position: absolute;
    top: 58px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #387aff;
    content: '';
    opacity: 0;
    -webkit-transition: height .5s, opacity .5s, -webkit-transform .5s;
    transition: height .5s, opacity .5s, transform .5s;
    -webkit-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    transform: translateY(-10px);
}

.navbar-nav .on {
    color: #387aff !important;
}

.home-header {
    background: #fff;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 9999;
    margin: 0 !important;
    border-radius: 0;
}

.home-header h1 a, .home-header h2 {
    color: #FFF;
}

.header-blank {
    width: 100%;
    height: 62px;
}

.search-content-wrapper {
    background: #2a3546;
    box-shadow: 0 0 4px rgba(0, 0, 0, .14), 0 4px 8px rgba(0, 0, 0, .28);
    padding: 100px 0 120px 0;
}

.home-logo {
    margin-left: 10px;
    line-height: 60px;
    height: 60px;
}


.nav-ul {
    float: right;
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
}

.nav-ul li {
    float: left;
    line-height: 60px;
    font-size: 16px;
    color: #9393ac;
}

.nav-ul li a {
    color: #000;
    height: 60px;
    line-height: 60px;
    padding: 0 26px;
    display: inline-block;
}

.nav-ul li a:hover {
    color: #039be5;
}

.home-big-logo {
    text-align: center;
    color: #ffffff;
    line-height: 90px;
    height: 90px;

}

.home-search-wrapper {
    display: block;
    margin: 0 auto;
    max-width: 800px;
    padding: 0 24px;
    position: relative;
    width: 100%;
}

#home-searchform {
    background: #fff;
    display: block;
    margin: 0;
    width: 100%;
    position: relative;
}

.home-form-control {
    /*border-radius: 6px;*/
    border: none;
    color: #212121;
    outline: none;
    height: 36px;
    padding: 8px 8px 8px 72px;
    width: 100%;
}

.icon-search {
    text-align: center;
    position: absolute;
    left: 12px;
    top: -4px;
}

.search-btn {
    display: none;
}

.fdsug-layout {
    display: none;
    margin: 0 auto;
    max-width: 800px;
    padding: 0 24px;
    position: absolute;
    height: auto;
    left: 0;
    top: 38px;
    background: #fff;
    border: 1px solid #ccc;
    /*border-radius: 6px;*/
    width: 100%;
}

.fdsug-layout li {
    color: #000;
    font: 14px arial;
    line-height: 30px;
    padding-left: 48px;
    cursor: pointer;
}

.fdsug-layout li:hover {
    color: #039be5;
}

.main-content {
    margin: 40px auto;
    max-width: 1400px;
    padding: 0 24px;
    position: relative;
}

.mz-content {
    margin: 40px auto;
    position: relative;
}

.hot-content {
    margin-bottom: 50px;
    text-align: center;
}

.hot-content-title {
    color: #757575;
    margin-bottom: 40px;
}

.hot-content-link {
    color: #757575;
    display: inline-block;
    margin-bottom: 20px;
    /*margin: 0 16px 32px;*/
    /*min-width: 112px;*/
    /*width: calc((100% - 320px)/6);*/
    vertical-align: top;
}

.hot-content-link:hover {
    color: #039be5;
    outline: 0;
    text-decoration: none;
}

.hot-content-link:hover .hot-content-img {
    transform: scale(1.1);
}

.hot-content-img {
    display: block;
    height: 48px;
    margin: 0 auto;
    width: 48px;
    transition: all .3s ease-in-out
}

.hot-content-heading {
    font: 500 16px/24px Roboto, sans-serif;
    font-weight: 400;
    margin: 16px 0 0;
    overflow: visible;
}

.home-columns-row {
    flex-wrap: wrap;
    /*margin-bottom: 80px;*/
}

.home-column {
    display: inline-block;
    overflow: hidden;
    padding: 50px 40px;
    position: relative;
    margin: 0 20px 20px 20px;
    width: calc((100% - 84px) / 2);
    box-shadow: 2px 4px 10px #B8B8B8;
}

.home-animation {
    background: #fff;
    color: #000;
}

.home-animation a {
    margin-top: 16px;
    margin-bottom: 28px;
    color: #039be5;
}

.home-sdk {
    background: #3e4fa7;
    color: #fff;
}

.home-sdk a {
    margin-top: 16px;
    margin-bottom: 28px;
    color: #fff;
}

.home-column h2 {
    border-bottom: none;
    font-size: 28px;
    font-weight: 400;
    margin: 0 0 16px;
    padding: 0;
}

.home-column p {
    margin: 16px 0;
    padding: 0;
}

.home-column img {
    position: absolute;
    right: 0;
    top: 0;
}

/*.home-promo-left {*/
/*margin-right: 40px;*/
/*}*/

.selection-heading {
    margin: 30px 20px 0 20px;
}

.selection-title {
    float: left;
    margin: 0;
}

.selection-title img {
    width: 30px;
    height: 30px;
    display: inline;
}

.selection-more {
    float: right;
}

.selection-more a {
    color: #d38137;
    font-size: 16px;
    line-height: 34px;
}

.selection-box {
    display: inline-block;
    overflow: hidden;
    padding: 20px 0;
    position: relative;
    margin: 0 20px 20px;
    width: calc((100% - 90px) / 2);
    border-bottom: 1px solid #BBBBBB;
}

.selection-box p {
    color: #707070;
    line-height: 26px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.development-tool-layout {

}

.tool-heading {
    width: 100%;
    padding: 20px;
}

.development-tool {
    float: left;
    margin: 0;
}

.development-tool img {
    width: 30px;
    height: 30px;
    display: inline;
}

.tool-column {
    display: inline-block;
    position: relative;
    background: #fff;
    padding: 0;
    width: calc((100% - 60px) / 4);
    height: 170px;
    box-shadow: 2px 4px 10px #B8B8B8;
}

.tool-column-left {
    margin-right: 16px;
}

.flyme-sdk {
    /*background: url("../image/sdk.png") no-repeat;*/
    /*background-position: center;*/
    /*background-size: 100%;*/
}

.phone-helper {
    /*background: url("../image/phone-helper.png") no-repeat;*/
    /*background-position: center;*/
    /*background-size: 100%;*/
}

.dynamic-editor {
    /*background: url("../image/edit.png") no-repeat;*/
    /*background-position: center;*/
    /*background-size: 100%;*/
}

.material-management {
    /*background: url("../image/material-management.png") no-repeat;*/
    /*background-position: center;*/
    /*background-size: 100%;*/
}

.bg-flyme-sdk {
    width: 0;
    height: 0;
    border-bottom: 170px solid #0a7ede;
    border-right: 50px solid transparent;
    border-left: 140px solid #0a7ede;
}
.bg-phone-helper {
    width: 0;
    height: 0;
    border-bottom: 170px solid #4f489c;
    border-right: 50px solid transparent;
    border-left: 140px solid #4f489c;
}
.bg-dynamic-editor {
    width: 0;
    height: 0;
    border-bottom: 170px solid #35b1e0;
    border-right: 50px solid transparent;
    border-left: 140px solid #35b1e0;
}
.bg-material-management {
    width: 0;
    height: 0;
    border-bottom: 170px solid #de3131;
    border-right: 50px solid transparent;
    border-left: 140px solid #de3131;
}


/*这里专为平板做适配*/
@media screen and (min-width:768px) and (max-width:992px){
    .tool-column {
        display: inline-block;
        position: relative;
        background: #fff;
        padding: 0;
        width: calc((100% - 36px) / 2);
        height: 170px;
        box-shadow: 2px 4px 10px #B8B8B8;
    }
    .bg-flyme-sdk {
        width: 0;
        height: 0;
        border-bottom: 170px solid #0a7ede;
        border-right: 50px solid transparent;
        border-left: 140px solid #0a7ede;
    }

    .bg-phone-helper {
        width: 0;
        height: 0;
        border-bottom: 170px solid #4f489c;
        border-right: 50px solid transparent;
        border-left: 140px solid #4f489c;
    }

    .bg-dynamic-editor {
        width: 0;
        height: 0;
        border-bottom: 170px solid #35b1e0;
        border-right: 50px solid transparent;
        border-left: 140px solid #35b1e0;
    }

    .bg-material-management {
        width: 0;
        height: 0;
        border-bottom: 170px solid #de3131;
        border-right: 50px solid transparent;
        border-left: 140px solid #de3131;
    }
}

.tool-column-text {
    position: absolute;
    top: 50%;
    margin-top: -26px;
    left: 4%;
    color: #fff;
}

.tool-column-img {
    position: absolute;
    top: 50%;
    margin-top: -26px;
    right: 26px;
    width: 60px;
    height: 60px;
}
.tool-column-img img {
    width: 100%;
    height: 100%;
}

.tool-column-text h4, .tool-column-text p {
    /*color: #fff;*/
}

.tool-column-text h4 {
    font-size: 16px;
}

.tool-column-text p {
    font-size: 13px;
}

.layout-footer {
    width: 100%;
    color: #666;
    font-size: 12px;
    background-color: #fff;
    overflow: hidden;
    padding: 40px 0;
}

.layout-footer h4 {
    color: #000;
    border-left: 3px solid #039be5;
    padding-left: 6px;
    box-sizing: border-box;
}

.about-us {
    float: left;
    padding-left: 0;
}

about-us a:hover {
    color: #00c3f5;
}

.about-us p {
    font-size: 15px;
    line-height: 20px;
    letter-spacing: 1.2px;
}

.about-us a {
    font-size: 15px;
    line-height: 20px;
    letter-spacing: 1.2px;
    margin-right: 20px;
}

.website-map {
    float: left;
}

.friend-link, .friend-link-left, .friend-link-right {
    float: left;
    padding: 0;
}

.fd-code {
    float: left;
    padding-right: 0;
}

.fd-code img {
    width: 100%;
    height: 100%;
}

.website-map li a, .friend-link li a {
    font-size: 15px;
    line-height: 30px;
    letter-spacing: 1.2px;
}

.fd-footer {
    width: 100%;
    height: 80px;
    line-height: 80px;
    text-align: center;
    background: #fff;
    position: relative;
    bottom: 0;
    border-top: 1px solid #BBBBBB;
}

.fd-gotop {
    display: none;
    position: fixed;
    bottom: 150px;
    right: 50px;
    top: auto;
    cursor: pointer;
    z-index: 9999;
    text-align: center;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out
}

.fd-gotop .go-top {
    position: relative;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background-color: rgba(180, 180, 180, .8);
    border-radius: 25px;
}

.fd-gotop .go-top:hover {
    opacity: .8;
    background-color: #198ded;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out
}

.fd-gotop .go-top:hover .glyphicon-chevron-up {
    color: #fff
}

.fd-gotop .go-top .glyphicon-chevron-up {
    font-size: 18px;
    color: #fff;
}

/*首页媒体查询*/
@media screen and (max-width: 768px) {
    .search-content-wrapper {
        padding: 40px 0 80px 0;
    }
    .home-logo{
        margin-left: 15px;
    }
    .home-logo img {
        width: 128px;
        height: 24px;
    }
    .main-content {
        margin: 40px auto;
        max-width: 100%;
        padding: 0;
        position: relative;
    }
    .navbar-nav > li {
        margin: 0;
        display: inline-block;
    }
    .icon-search {
        display: none;
    }
    .home-form-control {
        padding-left: 24px;
    }
    .search-btn {
        display: block;
        width: 60px;
        height: 36px;
        position: absolute;
        right: 0;
        top: 0;
        border: 0;
        outline: none;
        background: #387aff;
        color: #fff;
    }
    .fdsug-layout li {
        padding-left: 0;
    }
    .hot-content {
        margin-bottom: 20px;
        text-align: center;
    }

    .home-column {
        display: inline-block;
        overflow: hidden;
        padding: 50px 40px;
        position: relative;
        margin: 20px 0;
        width: calc(100%);
    }

    .fd-gotop {
        opacity: 0;
    }

    .selection-box {
        display: inline-block;
        overflow: hidden;
        padding: 20px 0;
        position: relative;
        margin: 0;
        width: calc(100%);
        border-bottom: 1px solid #BBBBBB;
    }

    .bg-flyme-sdk {
        width: 0;
        height: 0;
        border-bottom: 170px solid #0a7ede;
        border-right: 50px solid transparent;
        border-left: 170px solid #0a7ede;
    }

    .bg-phone-helper {
        width: 0;
        height: 0;
        border-bottom: 170px solid #4f489c;
        border-right: 50px solid transparent;
        border-left: 170px solid #4f489c;
    }

    .bg-dynamic-editor {
        width: 0;
        height: 0;
        border-bottom: 170px solid #35b1e0;
        border-right: 50px solid transparent;
        border-left: 170px solid #35b1e0;
    }

    .bg-material-management {
        width: 0;
        height: 0;
        border-bottom: 170px solid #de3131;
        border-right: 50px solid transparent;
        border-left: 170px solid #de3131;
    }

    .tool-column-text h4 {
        font-size: 16px;
    }

    .tool-column-text p {
        font-size: 15px;
    }

    .about-us{
        padding-left: 15px;
    }

    .layout-footer {
        /*display: none;*/
    }

    .tool-heading {
        width: 100%;
        margin: 20px 0;
        padding: 0;
    }

    .tool-column {
        display: inline-block;
        position: relative;
        padding: 0;
        width: calc(100%);
        height: 170px;
        margin-bottom: 20px;
    }

    .tool-column-left {
        margin-right: 0;
    }

    .fd-footer {
        width: 100%;
        height: 40px;
        font-size: 10px;
        line-height: 40px;
        text-align: center;
        background: #fff;
        position: relative;
        bottom: 0;
    }

    .selection-heading {
        margin: 10px 0;
    }
}

/*主页结束*/

/*工具和规范*/
.standard-heading {
    background: #198ded;
    padding: 60px 60px 80px 60px;
}

.standard-heading h1, .standard-heading p, .standard-heading a {
    color: #fff;
}

.standard-heading a {
    display: block;
    margin-top: 30px;
}

.tools-heading {
    background: #198ded;
    padding: 60px 60px 80px 60px;
}

.tools-heading h1, .tools-heading p, .tools-heading a {
    color: #fff;
}

.tools-heading a {
    display: block;
    margin-top: 30px;
}

.menu-content {
    background: #fff;
    padding: 60px;
}

.menu-layout {
    margin-bottom: 60px;
}

.menu-title {
    color: #777;
    margin-bottom: 30px;
}

.menu-wrapper {

}

.menu-list {
    display: inline-block;
    width: calc((100% - 44px) / 2);
    padding: 0 0 50px 0;
}

.list-right {
    margin-left: 40px;
}

.menu-list-img {
    width: 69px;
    height: 69px;
    float: left;
    margin-right: 10px;
}

.menu-list-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.menu-info {
    display: block;
}

.menu-info p {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

@media screen and (max-width: 768px) {
    .mz-content {
        margin: 0 auto;
        max-width: 100%;
        padding: 0;
        position: relative;
        background: #fff;
    }

    .menu-content {
        background: #fff;
        padding: 20px 18px;
    }

    .menu-list {
        display: inline-block;
        width: calc(100%);
        padding: 0 0 20px 0;
    }

    .list-right {
        margin-left: 0;
    }

    .menu-layout {
        margin-bottom: 30px;
    }

    .menu-list-img {
        width: 49px;
        height: 49px;
    }

    .menu-list-img img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
    }
    .menu-info h4{
        margin-top: 0;
    }
    .standard-heading,.tools-heading {
    padding: 36px 36px 56px 36px;
}

}


/*搜索界面*/

.search-content {
    position: relative;
    margin: 40px auto;
    height: auto;
    min-height: 100%;
    padding: 0 24px;
    background: #fff;
}

.searchLayout {

    width: 100%;
    display: block;
    transition: padding-top 240ms ease-in;
    -moz-transition: padding-top 240ms ease-in; /* Firefox 4 */
    -webkit-transition: padding-top 240ms ease-in; /* Safari and Chrome */
    -o-transition: padding-top 240ms ease-in; /* Opera */
    text-align: left;
    padding: 10% 40px 0 40px;
}

.search-form {
    position: relative;
    margin-top: 10px;
}

.search-icon {
    text-align: center;
    position: absolute;
    left: 8px;
    top: -2px;
    color: #777;
}

.search-result {
    padding: 0 40px 20px 40px;
    margin-top: 20px;
}

.show {
    padding-top: 20px;
}

.search {
    border: 1px solid #e7e7e7;
    height: 40px;
    width: 60%;
    font-size: 16px;
    line-height: 40px;
    padding-left: 60px;
    outline: none;
    color: #777;
    box-sizing: border-box;
}

.search-button {
    display: block;
    width: 60px;
    height: 40px;
    line-height: 40px;
    position: absolute;
    right: 32%;
    top: 0;
    border: 0;
    outline: none;
    background: #387aff;
    color: #fff;
}

.select-key {
    color: #ff0000;
}

.item-content {
    overflow: hidden;
    width: auto;
    max-height: 100px;
    color: #666;
}

.title {
    color: #278eea;
    font-size: 16px;
    font-weight: 700;
    display: inline;
}

.item {
    padding: 22px 0 16px;
    border-bottom: 1px solid #e9e9e9;
}

.author {
    font-size: 10px;
    color: #999;
}

.time {
    font-size: 10px;
    color: #999;
}

.search-empty {
    color: #777;
    margin-top: 20px;
    font-size: 14px;
    margin-left: 20px;
}

@media screen and (max-width: 768px) {

    .searchLayout {
        padding: 6% 0 0 0;
    }

    .search-result {
        padding: 0 0 20px 0;
    }
    .search {
        width: 100%;
    }
    .search-button {
        right: 0;
    }
}

/*干货*/

.article-nav-wrapper {
    width: 100%;
    height: 64px;
    background: #fff;
    margin: 0 auto;
}

.article-nav {
    padding: 10px 15px;
}

.nav-item {
    display: inline-block;
    width: calc((100% - 136px) / 5);
    line-height: 44px;
    text-align: center;
    border-radius: 4px;
    font-size: 16px;
    transition: all .3s ease-in-out;
}

.nav-item:hover,.nav-item:focus,.nav-item:active{
    color: #fff;
}

.nav-product {
    background: #f9f5ff;
    color: #c79efe;
    margin-right: 30px;
}

.nav-design {
    background: #edfaf3;
    color: #50cf8e;
    margin-right: 30px;
}
.nav-develop{
    background: #ffefd5;
    color: #febb50;
    margin-right: 30px;
}

.nav-test {
    background: #f0f7fe;
    color: #6dacf4;
    margin-right: 30px;
}

.nav-operate {
    background: #fef4f2;
    color: #f69581;
}

.nav-product:hover,.nav-product:focus,.nav-product:active{
    background: #c79efe;
}

.nav-design:hover,.nav-design:focus,.nav-design:active{
    background: #50cf8e;
}

.nav-develop:hover,.nav-develop:focus,.nav-develop:active{
    background: #febb50;
}

.nav-test:hover,.nav-test:focus,.nav-test:active{
    background: #6dacf4;
}

.nav-operate:hover,.nav-operate:focus,.nav-operate:active{
    background: #f69581;
}



.article-grid-big {
    display: block;
    position: relative;
    float: left;
    background: #0099CC;
    height: 310px;
    width: calc((100% - 30px)/3*2);
    margin-right: 40px;
}

.article-grid-small {
    display: block;
    position: relative;
    float: left;
    background: #0099CC;
    height: 150px;
    width: calc((100% - 60px)/3);
}

.grid-top {
    margin-bottom: 10px;
}
.article-grid-text {
    color: #fff;
    text-align: center;
    position: relative;
    top:50%;
    margin-top: -48px;
}

.article-main {
    float: left;
    width: calc((100% - 30px)/3*2);
    margin-right: 40px;
}

.newArticle {
    margin-top: 36px;
}

.article-item {
    width: 100%;
    padding: 20px;
    margin-top: 20px;
    background: #fff;
    position: relative;
}

.article-heading {
    margin-bottom: 10px;
}

.article-user-img {
    width: 44px;
    height: 44px;
    float: left;
    margin-right: 10px;
}
.article-user-img img {
    width: 100%;
    height: 100%;
     border-radius: 50%;
}

.article-user-name {
    color: #387aff;
    margin-top: 0;
    margin-bottom: 0;
    line-height: 24px;
    font-size: 17px;
}

.publish-time {
    color: #777;
    margin: 0;
    font-size: 13px;
}

.article-title {
    padding: 4px 0;
}
.article-title span{
    display: inline-block;
    vertical-align:text-bottom;
    background: #febb50;
    color: #fff;
    padding: 2px 4px;
    margin-right: 8px;
    border-radius: 4px;
}
.article-title a{
    font-size: 24px;
    color: #666;
}

.article-text {
    width: 100%;
}

.article-text p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp:6;
    -webkit-box-orient: vertical;
    color: #777;
    line-height: 24px;
    padding-left: 0;
    margin-bottom: 30px;
}

.article-cover {
    padding-right: 0;
}

.article-cover img {
    width: 100%;
    height: 140px;
}


.article-meta {
    padding-right: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
    margin-top: 20px;
}


.article-meta a {
    color: #777;
    margin-right: 14px;
    display: inline-block;
}

.article-meta i{
    top:2px;
    margin-right: 4px;
}

.article-meta a, .article-meta a:hover {
    transition: .1s ease-in;
    -webkit-transition: .1s ease-in;
    -moz-transition: .1s ease-in;
    -o-transition: .1s ease-in;
    -ms-transition: .1s ease-in;
}

.have-img {
    min-height: 140px;
}

.have-img .wrap-img {
    position: absolute;
    top: 50%;
    margin-top: -40px;
    right: 19px;
    width: 30%;
    height: 140px;
}

.have-img .wrap-img img {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    border: 1px solid #f0f0f0;
}

.have-img>div {
    padding-right: 34%;
}

.have-img .author {
    margin-bottom: 14px;
}

.have-img .author-avatar {
    display: inline-block;
    vertical-align: middle;
    margin: 0 5px 0 0;
    width: 44px;
    height: 44px;
    cursor: pointer;
}

.have-img .author-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.have-img .author-info{
    display: inline-block;
    vertical-align: middle;
}

.author-info .author-topname {
    color: #387aff;
    margin-top: 0;
    margin-bottom: 0;
    line-height: 30px;
    font-size: 17px;
}

.abstract {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    color: #777;
    line-height: 30px;
    padding-left: 0;
}

.article-main .author-avatar{
    display: inline-block;
    vertical-align: middle;
    margin: 0 5px 0 0;
    width: 44px;
    height: 44px;
    cursor: pointer;
}

.article-main .author-avatar img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.article-main .author-info{
    display: inline-block;
    vertical-align: middle;
}

.article-item .author {
    margin-bottom: 14px;
}



.sidebar {
    float: left;
    width: calc((100% - 60px)/3);
    height: auto;
    margin-top: 76px;
}

.add-more {
    display: block;
    width: 100%;
    height: 46px;
    line-height: 46px;
    text-align: center;
    background: #fff;
    color: #387aff;
    margin-top: 20px;
}

.side-item {
    width: 100%;
    height: auto;
    padding: 30px;
    background: #fff;
    margin-bottom: 20px;
    position: relative;
}

.side-title {
    margin-top: 0;
    border-left: 3px solid #039be5;
    padding-left: 6px;
    box-sizing: border-box;
}

.hot-tag a{
    display: inline-block;
    color: #777;
    padding-right: 20px;
    line-height: 30px;
}

.hot-tag a:hover{
    color: #387aff;
}

.hot-article a{
    display: block;
    width: 100%;
    color: #777;
    line-height: 32px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.hot-article a:hover{
    color: #387aff;
}

.ardent-user {
    width:100%;
    height: auto;
}

.ardent-user a{
    display: block;
    box-sizing: border-box;
    width: 50%;
    float: left;
    margin-top: 14px;
    padding-right: 10px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ardent-user img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.ardent-user a span{
    margin-left: 10px;
}

.download-app {
   margin-top: 20px;
}

.download-app p{
    color: #777;
}
.download-app h4{
    color: #387aff;
}

.download-link {
    margin-bottom: 20px;
}

.download-link a {
    display: inline-block;
    border-radius: 4px;
    color: #fff;
    text-align: center;
    padding: 6px 10px;
    line-height: 20px;
}

.download-link a i {
    margin-right: 3px;
    font-size: 14px;
    vertical-align: middle;
    top: 0;
}

.download-link span {
    vertical-align: middle;
}
.scan {
    background: #9b9b9b;
    cursor: pointer;
}

.scan:hover .popover-pic {
    transform: scale(1);
    transform-origin: bottom;
    -webkit-transform: scale(1);
    -webkit-transform-origin: bottom;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}
.android-link {
    background: #7caf49;
}

.popover-pic {
    position: absolute;
    top: -70px;
    left: -26px;
    width: 180px;
    height: 180px;
    transform: scale(0);
    transform-origin: bottom;
    -webkit-transform: scale(0);
    -webkit-transform-origin: bottom;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}


.popover-pic img {
    width: 100%;
    height: 100%;
}

/*干货媒体查询*/
@media screen and (max-width: 768px) {
    .nav-item {
        width: calc((100% - 16px) / 5);
    }

    .nav-product {
        margin-right: 0;
    }

    .nav-design {
        margin-right: 0;
    }

    .nav-develop {
        margin-right: 0;
    }

    .nav-test {
        margin-right: 0;
    }

    .article-grid-big {
        height: 310px;
        width: calc(100%);
        margin-right: 0;
        margin-bottom: 20px;
    }

    .article-grid-small {
        height: 150px;
        width: calc(50% - 5px);
    }

    .grid-top {
        margin-bottom: 0;
        margin-right: 10px;
    }

    .article-main {
        float: left;
        width: calc(100%);
        margin-right: 0;
    }
    .have-img>div {
    padding-right: 0;
    }
    .have-img .wrap-img{
        display: none;
    }
    .article-text p{
        padding-right: 0;
    }
    .article-cover{
        padding-left: 0;
        margin-bottom: 10px;
    }
    .sidebar {
        width: 100%;
    }
    .scan {
        display: none !important;
    }

}


/*文章详情*/

.article-box-warpper {
    width: 100%;
    height: auto;
    padding: 40px;
    margin-top: 20px;
    background: #fff;
}

.article-detail-hd {

}
.article-box-heading {
    margin-bottom: 10px;
}

.article-box-heading span{
    font-size: 24px;
    float: left;
    line-height: 40px;
}

.article-box-heading a{
    float: right;
    display: block;
    line-height: 40px;
}

.author-box {

}



.article-author {
    width: 50%;
    float: left;
}

.author-img {
    width: 32px;
    height: 32px;
    line-height: 32px;
    display: block;
    float: left;
}

.author-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.author-name {
    margin-left: 12px;
    line-height: 32px;
    font-size: 16px;
    color: #387aff;
    overflow: hidden;
    float: left;
    max-width: calc(100% - 113px);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.author-publish-time{
    color: #777;
    font-size: 16px;
    line-height: 32px;
    float: left;
    margin-left: 12px;
}

.collection-tag {
    padding: 2px 6px;
    color: #fff !important;
    background: #febb50;
    border-radius: 3px;
}

.article-details-meta {
    float: right;
    width: 50%;
    text-align: right;
    line-height: 32px;
}

.article-details-meta a {
    margin-right: 10px;
}

.article-detail-bd {
    margin-top: 30px;
}

.article-detail-bd p{
    color: #777;
    line-height: 30px;
    font-size: 16px;
}




.article-detail-ft{
    width: 100%;
    text-align: center;
    margin-top: 50px;
}

.article-detail-ft p{
    color: #777;
}

.article-praise {
    width: 50px;
    height: 50px;
    line-height: 50px;
    display: block;
    margin: 10px auto;
}

.article-praise img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.related-comments-hd {
    width: 100%;
    height: auto;
    background: #fff;
    margin-top: 20px;
    padding: 40px;
}

.com-comment {
    padding: 40px 0;
    border-bottom: 1px solid #e7e7e7;
}

.comment-left{
    display: inline-block;
    vertical-align: top;
}

.comment-right{
    position: relative;
    display: inline-block;
    margin-left: 15px;
    width: calc(100% - 60px);
}

.name-date {
    height: 40px;
    line-height: 40px;
    margin-bottom: 10px;
}

.comment-name {
    line-height: 40px;
    font-size: 16px;
    color: #444;
    overflow: hidden;
    float: left;
    width: 140px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.comment-time {
    color: #777;
    font-size: 15px;
    line-height: 40px;
    float: left;
    margin-left: 12px;
}

.comment-text {
    font-size: 16px;
    color: #555;
}

.user-avatar {
    width: 40px;
    height: 40px;
    line-height: 40px;
    display: block;
    float: left;
}

.user-avatar img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.related-comments-bd {
    margin-top: 20px;
    background: #fff;
    padding: 40px;
}
.related-comments-bd h4{
    border-left: 3px solid #387aff;
    padding-left: 10px;
    box-sizing: border-box;
}

.comment-panel {
    margin-top: 40px;
}

.comment-form {
    position: relative;
    display: inline-block;
    margin-left: 15px;
    width:calc(100% - 60px);
}

.comment-form textarea{
    padding: 10px;
    max-height: calc(100% - 60px);
    width: 100%;
    height: 120px;
    border: 1px solid #e7e7e7;
    outline: none;
    color: #363636;
    background: #f8f8f8;
    line-height: 18px;
    resize: none;
}

.comment-submit {
    float: right;
    margin-top: 7px;
    padding: 8px 22px;
    background: #387aff;
    color: #fff;
    font-size: 16px;
    line-height: 20px;
}

.article-tag span{
    margin-right: 10px;
}
.article-tag a{
    margin: 0 10px;
}

#clone_url {
    position: absolute;
    opacity: 0;
    width: 0;
    border: 0;
    z-index: -1;
}

.clone-btn {
    float: right;
    outline: none;
    width: 72px;
    height: 30px;
    line-height: 26px;
    margin: 5px 0;
    border: 1px solid #387aff;
    color: #387aff;
    background: #fff;
    box-sizing: border-box;
}

.clone-btn:hover {
    color: #fff;
    background: #387aff;
}

.tooltipped {
    position: relative
}

.tooltipped:after {
    position: absolute;
    z-index: 100;
    display: none;
    padding: 5px 8px;
    font: normal normal 11px/1.5 Helvetica, arial;
    color: #fff;
    text-align: center;
    text-decoration: none;
    text-shadow: none;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: break-word;
    white-space: pre;
    pointer-events: none;
    content: attr(aria-label);
    background: rgba(0, 0, 0, 0.8);
    border-radius: 3px;
    -webkit-font-smoothing: subpixel-antialiased
}

.tooltipped:before {
    position: absolute;
    z-index: 101;
    display: none;
    width: 0;
    height: 0;
    color: rgba(0, 0, 0, 0.8);
    pointer-events: none;
    content: "";
    border: 5px solid transparent
}

.tooltipped:hover:before, .tooltipped:hover:after, .tooltipped:active:before, .tooltipped:active:after, .tooltipped:focus:before, .tooltipped:focus:after {
    display: inline-block;
    text-decoration: none
}

.tooltipped-s:after {
    top: 100%;
    right: 50%;
    margin-top: 5px;
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
}

.tooltipped-s:before {
    top: auto;
    right: 50%;
    bottom: -5px;
    margin-right: -5px;
    border-bottom-color: rgba(0, 0, 0, 0.8);
}

@media screen and (max-width: 768px) {
    .article-box-warpper,.related-comments-hd,.related-comments-bd{
        padding: 20px;
    }
    .article-details-meta{
        width: 100%;
    }
    .article-author{
        width: 100%;
    }
    .author-meta {
        width: 100%;
        text-align: center;
    }
    .comment-name{
        width: 100px;
    }
    .comment-submit {
        padding: 8px;
        font-size: 14px;
    }
    .newArticle {
        margin-top: 20px;
    }
    .com-comment {
        padding: 30px 0;
    }
}

/*个人中心*/

.narrow-content {
    margin: 40px auto;
    max-width: 960px;
    padding: 0 24px;
    position: relative;
}

.user-header {
    width: 100%;
    height: auto;
    padding: 40px 20px;
}

.profilepic {
    width: 100px;
    height: 100px;
    line-height: 100px;
    float: left;
}

.profilepic img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.user-info {
    float: left;
    margin-left: 20px;
}

.user-name {
    margin: 0;
    line-height: 60px;
}

.user-info-list{
    line-height: 20px;
}

.user-info-list a,.user-info-list span{
    color: #777;
    margin-right: 20px;
    font-size: 16px;
}

.user-info-list nobr{
    color: #000;
}

.manage-btn {
    float: right;
    padding: 6px 16px;
    background: #387aff;
    color: #fff;
    margin: 33px 0;
}

.user-nav {
    width: 100%;
    height: 80px;
    background: #fff;
    margin: 20px 0;
}

.user-nav a{
    display: inline-block;
    margin: 0 40px;
    line-height: 77px;
    font-size: 16px;
}

.user-nav .on{
    border-bottom: 3px solid #387aff;
}

.article-meta-left {
    padding-right: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
    float: left;
}

.article-meta-left a {
    color: #777;
    margin-right: 14px;
    display: inline-block;
}

.article-meta-left i{
    top:2px;
    margin-right: 4px;
}

.article-meta-left a, .article-meta-left a:hover {
    transition: .1s ease-in;
    -webkit-transition: .1s ease-in;
    -moz-transition: .1s ease-in;
}

.article-meta-right {
    float: right;
    color: #777;
    opacity: 1;
}
.article-meta-right p {
    margin: 0 10px 0 0;
}

.myarticle-list {
    width: 100%;
    padding: 30px;
    margin-top: 20px;
    background: #fff;
    position: relative;
}

.myarticle-list:hover .article-meta-right{
    opacity: 0;
}

.myarticle-list:hover .operation{
    display: block;
}

.myarticle-list .author {
    margin-bottom: 14px;
}

.myarticle-list .author-avatar{
    display: inline-block;
    vertical-align: middle;
    margin: 0 5px 0 0;
    width: 44px;
    height: 44px;
    cursor: pointer;
}

.myarticle-list .author-avatar img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.myarticle-list .author-info{
    display: inline-block;
    vertical-align: middle;
}

.article-list {
    width: 100%;
    padding: 30px;
    margin-top: 20px;
    background: #fff;
    position: relative;
}

.article-list .author {
    margin-bottom: 14px;
}

.article-list .author-avatar{
    display: inline-block;
    vertical-align: middle;
    margin: 0 5px 0 0;
    width: 44px;
    height: 44px;
    cursor: pointer;
}

.article-list .author-avatar img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.article-list .author-info{
    display: inline-block;
    vertical-align: middle;
}

.operation {
    position: absolute;
    right: 40px;
    bottom: 30px;
    display: none;
}

.operation a {
    display: inline-block;
    width: 50px;
    text-align: right;
}

.reply {
    color: #387aff;
    cursor: pointer;
}

.edit {
    color: #387aff;
    cursor: pointer;
}

.delete {
    color: #ff0000;
    cursor: pointer;
    outline: none;
}

.hidetime{
    opacity: 0;
}

.comment-list .author-avatar{
    display: inline-block;
    vertical-align: middle;
    margin: 0 5px 0 0;
    width: 44px;
    height: 44px;
    cursor: pointer;
}

.comment-list .author-avatar img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.comment-list .author-info{
    display: inline-block;
    vertical-align: middle;
}

.comment-list .author {
    margin-bottom: 14px;
}

.comment-list {
    width: 100%;
    height: auto;
    padding: 40px;
    background: #fff;
    position: relative;
    border-bottom: 1px solid #e7e7e7;
}

.author-info span{
    /*display: inline-block;*/
}

.user-topname {
    font-size: 17px;
    color: #387aff;
    width: 80px;
}

.whatapp {
    font-size: 17px;
    margin: 0 10px;
}

.myarticle-title {
    font-size: 17px;
    color: #000;
}

.comment-reply {
    position: absolute;
    right: 40px;
    top: 42px;
}

.comment-reply a {
    display: inline-block;
    width: 50px;
    line-height: 20px;
    font-size: 16px;
}

.user-comment-text {
    font-size: 16px;
    color: #555;
    margin-left: 50px;
}

.comment-phone-reply {
    display: none;
}

/*个人中心媒体查询*/

@media screen and (max-width: 768px) {
    .user-header{
        padding: 0;
    }

    .profilepic {
        width: 60px;
        height: 60px;
        line-height: 60px;
    }

    .user-name{
        line-height: 40px;
    }

    .manage-btn{
        display: none;
    }
    .user-nav{
        height: 60px;
    }
    .user-nav a{
        margin: 0 10px;
        line-height: 57px;
    }
    .comment-list {
        padding: 20px 20px 30px 20px;
    }
    .whatapp{
        margin: 0 2px;
    }
    .myarticle-title {
        display: block;
        float: right;
        width: 80px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    .user-comment-text {
        margin-left: 0;
    }
    .comment-reply {
        display: none;
    }

    .comment-phone-reply {
        display: block;
        position: absolute;
        right: 20px;
        bottom: 14px;
    }

    .comment-phone-reply a {
        display: inline-block;
        width: 50px;
        line-height: 20px;
        font-size: 16px;
    }

    .edit {
        opacity: 0;
    }
}

/*文章列表页*/

.table {
    background: #fff;
    border: 1px solid #ddd;
}

.table thead {
    color: #777;
}

.table thead th{
    text-align: center;
}

.table thead th:first-child{
    text-align: left;
}

.table tbody th{
    color: #387aff;
}

.table tbody td{
    text-align: center;
}

.table > thead > tr > th{
    border-bottom: 1px solid #ddd;
}

/*标签页*/

.new-edit-article {
    margin-top: 26px;
}
.new-edit-article h3{
    margin: 0;
    line-height: 36px;
}

.side-item select{
    background: #fff;
    width: 100px;
    height: 36px;
    line-height: 36px;
    border: 1px solid #e7e7e7;
    color: #777;
    border-radius: 4px;
    padding-left: 6px;
    outline: none;
    box-sizing: border-box;
    margin-right: 10px;
    cursor: pointer;
}

.side-item label {
    color: #777;
    font-size: 18px;
    padding-right: 20px;
    line-height: 36px;
    cursor: pointer;
    font-weight: normal;
    -moz-user-select:none;
}

.edit-title {
    width: 100%;
    height: 36px;
    line-height: 36px;
    margin: 15px 0 20px 0;
    padding: 0 20px;
    outline: none;
    border: 1px solid #e7e7e7;
    box-shadow: 0 0 3px rgba(0,0,0,.15);
}

.save-wrapper {
    position: absolute;
    right: 96px;
    top: 26px;
}
.save-wrapper a {
    display: inline-block;
    width: 100px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 4px;
}

.save-btn {
    background: #fff;
    color: #387aff;
}

.publish-btn {
    background: #387aff;
    color: #fff;
    margin-left: 20px;
}

.tag-text {
    width: 100%;
    height: 36px;
    line-height: 36px;
    padding-left: 10px;
    outline: none;
}

/*markdowm*/

html, body, #editor {
  margin: 0;
  height: 100%;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #333;
}

textarea, #editor div {
  display: inline-block;
  width: 49%;
  height: 100%;
  vertical-align: top;
  box-sizing: border-box;
  padding: 0 20px;
}

textarea {
  border: none;
  border-right: 1px solid #ccc;
  resize: none;
  outline: none;
  background-color: #f6f6f6;
  font-size: 14px;
  font-family: 'Monaco', courier, monospace;
  padding: 20px;
}

code {
  color: #f66;
}


/*.menu__item--new-show:after {*/
    /*content: '';*/
    /*display: block;*/
    /*width: 6px;*/
    /*height: 6px;*/
    /*background-color: #ed1c24;*/
    /*position: absolute;*/
    /*right: 4px;*/
    /*top: 4px;*/
    /*border-radius: 50%;*/
/*}*/


th.active {
  color: #fff;
}

th.active .arrow {
  opacity: 1;
}

.arrow {
  display: inline-block;
  vertical-align: middle;
  width: 0;
  height: 0;
  margin-left: 5px;
  opacity: 0.66;
}

.arrow.asc {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 4px solid #fff;
}

.arrow.dsc {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid #fff;
}
